<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>

<?php
include_once "function_sec_bindwidth.php";

$in_array['Name'] = $_POST['name'];
$in_array['Filter'] = $_POST['filter'];
$in_array['Enabled'] = $_POST['enabled'];
$in_array['BandWidth'] = $_POST['bandwidth'];
$in_array['Dev'] = $_POST['dev'];
$number = $_POST['number'];

SetXmlSecOneBindWidth($in_array, $number);

include "function_misc_log.php";
$in_array['Name'] = "'". ($in_array['Name']). "'";
$in_array['Note'] = "'". ($in_array['Note']). "'";
logger("Modify", $in_array,"Qos_BandWidth");

include "function_web_misc.php";
PrintSuccessPageAndJump('sec_policy_bandwidth.php');

//echo("<meta http-equiv='refresh'content=0;URL='sec_policy_bandwidth.php'>");
?>
